//
//  VersionJudgment.m
//  AFNnetworking
//
//  Created by dllo on 15/11/26.
//  Copyright © 2015年 mjh. All rights reserved.
//

#import "VersionJudgment.h"

@implementation VersionJudgment

#pragma mark - Version
+ (NSString *)versionJudgment{
    NSString *key = (NSString *)kCFBundleVersionKey;
    // 获取当前版本号
    NSDictionary *md = [NSBundle mainBundle].infoDictionary;
    NSString *currentVersion = md[key];
    return currentVersion;
}
@end
